package com.ye.spring.service.impl;

import com.ye.spring.dao.UserDao;
import com.ye.spring.pojo.User;
import com.ye.spring.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public void addUser() {

        userDao.addUser();
    }


}
